<template>
  <div class="boot_page">
    <img src="@/assets/xiyufengqing.png" />
    <div class="button_group">
      <van-button type="primary" block>查看订单</van-button>
      <van-button type="danger" block @click="goPlaceAnOrder">去下单</van-button>
    </div>
  </div>
</template>

<script setup>
import {useRouter} from 'vue-router'

const router = useRouter()
//点击去下单
const goPlaceAnOrder = () => {
    router.push('/placeAnOrder')
}
</script>

<style lang="scss" scoped>
div.boot_page {

  img {
    width: 100%;
    margin-top: 150px;
  }

  div.button_group {
      margin-top: 160px;
    padding: 0 20px;
    .van-button {
      margin-bottom: 10px;
    }
  }
}
</style>